.class Lcom/example/m6wmr/OrderdetActivity$4;
.super Ljava/lang/Object;
.source "OrderdetActivity.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/example/m6wmr/OrderdetActivity;->loadgiftdata()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/example/m6wmr/OrderdetActivity;


# direct methods
.method constructor <init>(Lcom/example/m6wmr/OrderdetActivity;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/example/m6wmr/OrderdetActivity$4;->this$0:Lcom/example/m6wmr/OrderdetActivity;

    .line 294
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 4
    .param p1, "v"    # Landroid/view/View;

    .prologue
    .line 297
    iget-object v1, p0, Lcom/example/m6wmr/OrderdetActivity$4;->this$0:Lcom/example/m6wmr/OrderdetActivity;

    # getter for: Lcom/example/m6wmr/OrderdetActivity;->gopay:Ljava/lang/String;
    invoke-static {v1}, Lcom/example/m6wmr/OrderdetActivity;->access$2(Lcom/example/m6wmr/OrderdetActivity;)Ljava/lang/String;

    move-result-object v1

    const-string v2, "0"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_1

    .line 299
    const-string v1, "OrderdetACtivity"

    const-string v2, "\u786e\u8ba4\u8ba2\u5355"

    invoke-static {v1, v2}, Lmyapp/Mylog;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 300
    iget-object v1, p0, Lcom/example/m6wmr/OrderdetActivity$4;->this$0:Lcom/example/m6wmr/OrderdetActivity;

    # getter for: Lcom/example/m6wmr/OrderdetActivity;->mcontext:Landroid/content/Context;
    invoke-static {v1}, Lcom/example/m6wmr/OrderdetActivity;->access$0(Lcom/example/m6wmr/OrderdetActivity;)Landroid/content/Context;

    move-result-object v1

    const-string v2, "\u786e\u8ba4\u8ba2\u5355"

    const-string v3, "\u6570\u636e\u63d0\u4ea4\u4e2d.."

    invoke-static {v1, v2, v3}, Lmyapp/Util;->showDialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    .line 301
    iget-object v1, p0, Lcom/example/m6wmr/OrderdetActivity$4;->this$0:Lcom/example/m6wmr/OrderdetActivity;

    invoke-virtual {v1}, Lcom/example/m6wmr/OrderdetActivity;->sureorder()Z

    .line 324
    :cond_0
    :goto_0
    return-void

    .line 302
    :cond_1
    iget-object v1, p0, Lcom/example/m6wmr/OrderdetActivity$4;->this$0:Lcom/example/m6wmr/OrderdetActivity;

    # getter for: Lcom/example/m6wmr/OrderdetActivity;->gopay:Ljava/lang/String;
    invoke-static {v1}, Lcom/example/m6wmr/OrderdetActivity;->access$2(Lcom/example/m6wmr/OrderdetActivity;)Ljava/lang/String;

    move-result-object v1

    const-string v2, "1"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_2

    .line 303
    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0}, Landroid/content/Intent;-><init>()V

    .line 304
    .local v0, "intent":Landroid/content/Intent;
    const-string v1, "orderid"

    iget-object v2, p0, Lcom/example/m6wmr/OrderdetActivity$4;->this$0:Lcom/example/m6wmr/OrderdetActivity;

    # getter for: Lcom/example/m6wmr/OrderdetActivity;->orderid:Ljava/lang/String;
    invoke-static {v2}, Lcom/example/m6wmr/OrderdetActivity;->access$3(Lcom/example/m6wmr/OrderdetActivity;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 305
    iget-object v1, p0, Lcom/example/m6wmr/OrderdetActivity$4;->this$0:Lcom/example/m6wmr/OrderdetActivity;

    const-class v2, Lcom/example/m6wmr/PayActivity;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->setClass(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;

    .line 306
    iget-object v1, p0, Lcom/example/m6wmr/OrderdetActivity$4;->this$0:Lcom/example/m6wmr/OrderdetActivity;

    invoke-virtual {v1, v0}, Lcom/example/m6wmr/OrderdetActivity;->startActivity(Landroid/content/Intent;)V

    .line 307
    const-string v1, "OrderdetACtivity"

    const-string v2, "\u53bb\u652f\u4ed82"

    invoke-static {v1, v2}, Lmyapp/Mylog;->d(Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    .line 308
    .end local v0    # "intent":Landroid/content/Intent;
    :cond_2
    iget-object v1, p0, Lcom/example/m6wmr/OrderdetActivity$4;->this$0:Lcom/example/m6wmr/OrderdetActivity;

    # getter for: Lcom/example/m6wmr/OrderdetActivity;->gopay:Ljava/lang/String;
    invoke-static {v1}, Lcom/example/m6wmr/OrderdetActivity;->access$2(Lcom/example/m6wmr/OrderdetActivity;)Ljava/lang/String;

    move-result-object v1

    const-string v2, "2"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_0

    .line 309
    const-string v1, "OrderdetACtivity"

    const-string v2, "\u53bb\u8bc4\u4ef7"

    invoke-static {v1, v2}, Lmyapp/Mylog;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 310
    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0}, Landroid/content/Intent;-><init>()V

    .line 311
    .restart local v0    # "intent":Landroid/content/Intent;
    const-string v1, "orderid"

    iget-object v2, p0, Lcom/example/m6wmr/OrderdetActivity$4;->this$0:Lcom/example/m6wmr/OrderdetActivity;

    # getter for: Lcom/example/m6wmr/OrderdetActivity;->orderid:Ljava/lang/String;
    invoke-static {v2}, Lcom/example/m6wmr/OrderdetActivity;->access$3(Lcom/example/m6wmr/OrderdetActivity;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 312
    iget-object v1, p0, Lcom/example/m6wmr/OrderdetActivity$4;->this$0:Lcom/example/m6wmr/OrderdetActivity;

    const-class v2, Lcom/wmr/order/PingActivity;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->setClass(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;

    .line 313
    iget-object v1, p0, Lcom/example/m6wmr/OrderdetActivity$4;->this$0:Lcom/example/m6wmr/OrderdetActivity;

    invoke-virtual {v1, v0}, Lcom/example/m6wmr/OrderdetActivity;->startActivity(Landroid/content/Intent;)V

    goto :goto_0
.end method
